import { GRID,newGRID,STATUS_OPTIONS } from '../_grid/attr-grid'

export interface COLLAPSE extends GRID {
  title: string
}

export function newCOLLAPSE(attr?:COLLAPSE):COLLAPSE{
  return Object.assign(
    newGRID(),
    {
      title: '折叠面板'
    },
    attr
  ) as COLLAPSE
}

export { STATUS_OPTIONS };